Skip to content

Commit

Permalink
feat(Composition Renderer): Alert the user when rendering finishes.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebiAi committed Feb 10, 2025
1 parent b646ad6 commit cbfef60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RenderingSettingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ void RenderingSettingsDialog::afterRenderCleanup() {
// because only then is progressDialog guaranteed to be valid.
this->progressDialog->reset();
this->buttonBox->button(QDialogButtonBox::StandardButton::Ok)->setEnabled(true);

qApp->alert(this->parentWidget()); // Alert the user that the rendering is done
}

void RenderingSettingsDialog::onFilePathBrowseButtonClicked() {
Expand Down
1 change: 1 addition & 0 deletions src/RenderingSettingsDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef GV_RENDERINGSETTINGSDIALOG_H
#define GV_RENDERINGSETTINGSDIALOG_H

#include <QApplication>
#include <QColor>
#include <QColorDialog>
#include <QComboBox>
Expand Down

0 comments on commit cbfef60

Please sign in to comment.