Hide the sx from txn dialog und show it only when the txn is valid.

There is no reason for popping up a window under a modal error dialog and close
it once the user acknowledged the error.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17528 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler
2008-09-15 18:24:48 +00:00
parent d7cad46659
commit 8c50c35016
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -781,5 +781,5 @@ gnc_sx_create_from_trans( Transaction *trans )
}
}
gtk_widget_show_all(GTK_WIDGET(sxfti->dialog));
gtk_widget_show(GTK_WIDGET(sxfti->dialog));
}
+1 -1
View File
@@ -2259,7 +2259,7 @@ Last Sunday</property>
</widget>
<widget class="GtkDialog" id="sx_from_real_trans">
<property name="visible">True</property>
<property name="visible">False</property>
<property name="title" translatable="yes">Make Scheduled Transaction</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>