mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-15 00:09:58 -05:00
Merge pull request #1102 from da2x/master
Change some OK buttons to Save buttons
This commit is contained in:
@@ -305,7 +305,7 @@
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -1217,7 +1217,7 @@
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
+1
-1
@@ -425,7 +425,7 @@ bool DBBrowserDB::close()
|
||||
QApplication::applicationName(),
|
||||
tr("Do you want to save the changes "
|
||||
"made to the database file %1?").arg(curDBFilename),
|
||||
QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel);
|
||||
QMessageBox::Save | QMessageBox::No | QMessageBox::Cancel);
|
||||
|
||||
// If the user clicked the cancel button stop here and return false
|
||||
if(reply == QMessageBox::Cancel)
|
||||
|
||||
Reference in New Issue
Block a user