Skip to content

Commit

Permalink
Adding a filter to a saved pipeline no longer resets the window title…
Browse files Browse the repository at this point in the history
… to 'Untitled'.

closes BlueQuartzSoftware#2
  • Loading branch information
mmarineBlueQuartz committed Feb 23, 2017
1 parent 8f2eab7 commit 683e94c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Applications/SIMPLView/SIMPLView_UI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,9 @@ void SIMPLView_UI::on_pipelineViewWidget_pipelineOpened(QString& file, const boo
void SIMPLView_UI::on_pipelineViewWidget_windowNeedsRecheck()
{
QString fiBase = "Untitled";
if (!m_OpenedFilePath.isEmpty())
fiBase = m_OpenedFilePath;

QFileInfo fi(fiBase);
if ( !windowFilePath().isEmpty() )
{
Expand Down

0 comments on commit 683e94c

Please sign in to comment.