Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Dekko Project
ubports-ui-plugin
Commits
6fe9f1b6
Commit
6fe9f1b6
authored
Nov 27, 2017
by
Dan Chapman
Browse files
Fix composer not showing confirmation dialog
parent
fbd9766b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
plugins/core/mail/composer/ComposeWindow.qml
plugins/core/mail/composer/ComposeWindow.qml
+11
-5
No files found.
plugins/core/mail/composer/ComposeWindow.qml
View file @
6fe9f1b6
...
...
@@ -4,10 +4,12 @@ import Ubuntu.Components 1.3
import
Ubuntu
.
Components
.
Popups
1.3
import
Dekko
.
Mail
.
API
1.0
import
Dekko
.
Mail
.
Stores
.
Composer
1.0
import
Dekko
.
Mail
.
Workers
1.0
import
Dekko
.
Ubuntu
.
Dialogs
1.0
import
Dekko
.
Ubuntu
.
Components
1.0
import
MazDB
1.0
import
PlugMan
1.0
import
QuickFlux
1.0
import
Dekko
.
Ubuntu
.
Components
1.0
Window
{
id
:
window
...
...
@@ -58,10 +60,14 @@ Window {
loadMode
:
ItemRegistry
.
LoadFirstEnabled
}
AppListener
{
filter
:
PopupKeys
.
showDiscardDialog
onDispatched
:
{
PopupUtils
.
open
(
Qt
.
resolvedUrl
(
"
../dialogs/ConfirmationDialog.qml
"
),
container
,
{
id
:
message
.
id
,
title
:
message
.
title
,
text
:
message
.
text
})
DialogWorker
{
name
:
PopupKeys
.
popupComposer
dlgTarget
:
container
noticePopup
:
Component
{
NoticePopup
{}
}
confirmationPopup
:
Component
{
ConfirmationDialog
{}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment