File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 44
55- The Windows build now switched to Qt 6.6.1, because the Qt 5 build could not be executed
66  anymore, when built with Windows Server 2025 (for [#3306](https://github.com/pbek/QOwnNotes/issues/3306))
7+ - In the _Scripts settings_, the settings for a script will be hidden after the last script
8+   was removed, not just disabled (for [#3307](https://github.com/pbek/QOwnNotes/issues/3307))
79
810## 25.7.0
911
Original file line number Diff line number Diff line change @@ -2675,6 +2675,9 @@ void SettingsDialog::reloadScriptList() const {
26752675
26762676    //  disable the edit frame if there is no item
26772677    ui->scriptEditFrame ->setEnabled (scriptsCount > 0 );
2678+     if  (scriptsCount > 0 ) {
2679+         ui->scriptEditFrame ->setVisible (true );
2680+     }
26782681
26792682    //  disable the remove button if there is no item
26802683    ui->scriptRemoveButton ->setEnabled (scriptsCount > 0 );
@@ -2735,6 +2738,7 @@ void SettingsDialog::on_scriptRemoveButton_clicked() {
27352738
27362739        //  disable the edit frame if there is no item
27372740        ui->scriptEditFrame ->setEnabled (scriptsAvailable);
2741+         ui->scriptEditFrame ->setVisible (scriptsAvailable);
27382742
27392743        //  reload the scripting engine
27402744        ScriptingService::instance ()->reloadEngine ();
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments