Skip to content
Snippets Groups Projects
  • Dimitar Tasev's avatar
    642901e1
    Prevents rename_plot being triggered by unexpected focus grab · 642901e1
    Dimitar Tasev authored
    Plotting from script and changing the code editor tabs would cause the last plot's line edit in the plotselector widget to steal focus temporarily. On losing the focus it would trigger the `QLineEdit::editingFinished slot which would call `plotselector.view.rename_plot`. This also happened on Workbench closing, which would then try to update the name from the plotselector widget that has been deleted, and would throw the exception.
    
    Re #26305
    642901e1
    History
    Prevents rename_plot being triggered by unexpected focus grab
    Dimitar Tasev authored
    Plotting from script and changing the code editor tabs would cause the last plot's line edit in the plotselector widget to steal focus temporarily. On losing the focus it would trigger the `QLineEdit::editingFinished slot which would call `plotselector.view.rename_plot`. This also happened on Workbench closing, which would then try to update the name from the plotselector widget that has been deleted, and would throw the exception.
    
    Re #26305
Code owners
Assign users and groups as approvers for specific file changes. Learn more.