Skip to content

Commit 619e875

Browse files
committed
Mistaken change committed
1 parent aabcce4 commit 619e875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Interface/Application/ModuleWidget.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ void ModuleWidget::fillReplaceWithMenu(QMenu* menu)
587587

588588
void ModuleWidget::replaceModuleWith()
589589
{
590-
replaceWithDialog_->deleteLater();
590+
delete replaceWithDialog_;
591591
replaceWithDialog_ = nullptr;
592592
auto action = qobject_cast<QAction*>(sender());
593593
auto moduleToReplace = action->text();

0 commit comments

Comments
 (0)