mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
switch to window
This commit is contained in:
parent
82e274875d
commit
3b498d57cf
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ func main() {
|
|||
go func(done chan bool) {
|
||||
for {
|
||||
if cr.WindowReceivingString != "" {
|
||||
var question = widgets.QMessageBox_Question(nil, "croc", fmt.Sprintf("%s?", cr.WindowReceivingString), widgets.QMessageBox__Yes|widgets.QMessageBox__No, 0)
|
||||
var question = widgets.QMessageBox_Question(window, "croc", fmt.Sprintf("%s?", cr.WindowReceivingString), widgets.QMessageBox__Yes|widgets.QMessageBox__No, 0)
|
||||
if question == widgets.QMessageBox__Yes {
|
||||
cr.WindowRecipientAccept = true
|
||||
labels[0].UpdateTextFromGoroutine(cr.WindowReceivingString)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue