Merge pull request #5 from QazCetelic/java_dir_disable_alt

Disable folder action instead of hiding it and add additional informa…
This commit is contained in:
Alexandru Ionut Tripon
2024-09-14 23:27:57 +03:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -234,7 +234,8 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWi
ui->mainToolBar->addAction(ui->actionCloseWindow);
}
ui->actionViewJavaFolder->setVisible(BuildConfig.JAVA_DOWNLOADER_ENABLED);
ui->actionViewJavaFolder->setEnabled(BuildConfig.JAVA_DOWNLOADER_ENABLED);
}
// add the toolbar toggles to the view menu

View File

@@ -798,7 +798,7 @@
<string>Java</string>
</property>
<property name="toolTip">
<string>Open the java folder in a file browser.</string>
<string>Open the java folder in a file browser. Only available if the built-in Java downloader is used.</string>
</property>
</action>
</widget>