mirror of
https://github.com/august-alt/gpui.git
synced 2025-03-14 12:58:39 +03:00
wip: adding isUserScripts
field to ScriptsDialog
This commit is contained in:
parent
7f11b55478
commit
97afa170fc
@ -35,6 +35,7 @@ ScriptsDialog::ScriptsDialog(QWidget *parent)
|
||||
: QDialog(parent)
|
||||
, ui(new Ui::ScriptsDialog())
|
||||
, isStartUpScripts(false)
|
||||
, isUserScripts(false)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
@ -54,6 +55,7 @@ void ScriptsDialog::setModels(ScriptsModel *scriptsModel, ScriptsModel *powerScr
|
||||
ScriptItemContainer *powerScriptsItem = nullptr;
|
||||
|
||||
isStartUpScripts = isOnStartUp;
|
||||
isUserScripts = isUser;
|
||||
|
||||
if (isOnStartUp)
|
||||
{
|
||||
|
@ -87,6 +87,7 @@ private:
|
||||
Ui::ScriptsDialog *ui;
|
||||
|
||||
bool isStartUpScripts;
|
||||
bool isUserScripts;
|
||||
};
|
||||
|
||||
} // namespace scripts_plugin
|
||||
|
Loading…
x
Reference in New Issue
Block a user