forked from qt-creator/qt-creator
Add a save macro menu item, and remove the 'show save dialog' option in macro plugin
Merge-request: 240 Reviewed-by: con <qtc-committer@nokia.com>
This commit is contained in:
committed by
con
parent
0444335aba
commit
23e024de64
@@ -104,8 +104,6 @@ void MacroOptionsWidget::setSettings(const MacroSettings &s)
|
||||
m_directories.clear();
|
||||
ui->treeWidget->clear();
|
||||
|
||||
ui->showSaveDialog->setChecked(s.showSaveDialog);
|
||||
|
||||
// Create the treeview
|
||||
foreach (const QString &dir, s.directories)
|
||||
appendDirectory(dir, s.defaultDirectory==dir);
|
||||
@@ -231,8 +229,6 @@ void MacroOptionsWidget::apply()
|
||||
foreach (const QString &dir, dirToRemove)
|
||||
MacroManager::instance()->removeDirectory(dir);
|
||||
|
||||
MacroManager::instance()->showSaveDialog(ui->showSaveDialog->checkState()==Qt::Checked);
|
||||
|
||||
MacroManager::instance()->saveSettings();
|
||||
|
||||
// Reinitialize the page
|
||||
|
||||
Reference in New Issue
Block a user