Commit 9a4cb4c4 authored by Xavier de Blas's avatar Xavier de Blas

At exhibition: do not allow to open session (standard mode)

parent 0823d7ec
......@@ -25,7 +25,7 @@
<widget class="GtkMenu" id="session_menu">
<property name="can_focus">False</property>
<child>
<widget class="GtkImageMenuItem" id="session_new">
<widget class="GtkImageMenuItem" id="menuitem_new_session">
<property name="label" translatable="yes">New session</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
......@@ -42,7 +42,7 @@
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="open1">
<widget class="GtkImageMenuItem" id="menuitem_open_session">
<property name="label" translatable="yes">_Load</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
......@@ -1848,6 +1848,9 @@
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<widget class="GtkLabel" id="label_start_selector_jumps">
<property name="visible">True</property>
<property name="can_focus">False</property>
......@@ -20201,12 +20204,6 @@ Concentric</property>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<widget class="GtkCheckButton" id="checkbutton_force_sensor_ai_b">
<property name="width_request">30</property>
<property name="visible">True</property>
......@@ -20349,6 +20346,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</widget>
<packing>
<property name="expand">False</property>
......@@ -28680,6 +28680,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</widget>
<packing>
<property name="expand">False</property>
......@@ -42,6 +42,7 @@ public partial class ChronoJumpWindow
{
[Widget] Gtk.Window app1;
[Widget] Gtk.MenuBar main_menu;
[Widget] Gtk.MenuItem menuitem_open_session;
[Widget] Gtk.MenuItem menuitem_mode;
[Widget] Gtk.HBox hbox_gui_tests;
......
......@@ -42,6 +42,7 @@ public partial class ChronoJumpWindow
exhibitionStationType == ExhibitionTest.testTypes.FORCE_SHOT)
on_button_selector_start_force_sensor_clicked (new object (), new EventArgs());
menuitem_open_session.Sensitive = false; //do not allow menu open to work (it could be really slow)
frame_exhibition.Visible = true;
notebook_session_person.CurrentPage = 1;
frame_persons.Sensitive = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment