Add window titles to "Add Variable" and "Edit Variable" dialogs.

This commit is contained in:
Jim Evins
2019-03-17 14:35:29 -04:00
parent d05c6fbfd2
commit dab2c19862
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -99,6 +99,7 @@ namespace glabels
model::Variable::Increment::NEVER, model::Variable::Increment::NEVER,
"0" ); "0" );
dialog.setVariable( v ); dialog.setVariable( v );
dialog.setWindowTitle( tr("Add Variable") );
if ( dialog.exec() == QDialog::Accepted ) if ( dialog.exec() == QDialog::Accepted )
{ {
@@ -122,6 +123,7 @@ namespace glabels
EditVariableDialog dialog( this ); EditVariableDialog dialog( this );
dialog.setVariable( v ); dialog.setVariable( v );
dialog.setWindowTitle( tr("Edit Variable") );
if ( dialog.exec() == QDialog::Accepted ) if ( dialog.exec() == QDialog::Accepted )
{ {
+8
View File
@@ -2145,6 +2145,14 @@
<source>Variables</source> <source>Variables</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Add Variable</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit Variable</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>glabels::barcode::Backends</name> <name>glabels::barcode::Backends</name>