| 1934 | } |
| 1935 | |
| 1936 | void MainWindow::syncFilterEditorPreviewDisplay() { |
| 1937 | auto* panel = qobject_cast<FilterEditorPanel*>(current_panel_); |
| 1938 | if (panel == nullptr || filter_editor_origin_ == nullptr) { |
| 1939 | return; |
| 1940 | } |
| 1941 | // Mirror the plot the editor was opened on. Grid is global (applied to every plot), |
| 1942 | // so activate_grid_ already equals the origin's grid state. |
| 1943 | panel->setPreviewDisplay( |
| 1944 | activate_grid_, filter_editor_origin_->defaultCurveStyle(), filter_editor_origin_->lineWidth()); |
| 1945 | } |
| 1946 | |
| 1947 | void MainWindow::syncPanelPreviewDisplay() { |
| 1948 | // A plugin toolbox panel (e.g. the Transform Editor plugin) embeds a real |
nothing calls this directly
no test coverage detected