diff --git a/desktop/toolkit/qt5/qt5-base/files/qtbug-77364.patch b/desktop/toolkit/qt5/qt5-base/files/qtbug-77364.patch
new file mode 100644
index 0000000000..fd28481d13
--- /dev/null
+++ b/desktop/toolkit/qt5/qt5-base/files/qtbug-77364.patch
@@ -0,0 +1,12 @@
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index 04290a4ce1..27773d5762 100644
+--- a/src/widgets/kernel/qwidget.cpp
++++ b/src/widgets/kernel/qwidget.cpp
+@@ -6446,7 +6446,7 @@ void QWidget::setFocusProxy(QWidget * w)
+
+ if (changingAppFocusWidget) {
+ QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+- QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++ QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+ }
+ }
diff --git a/desktop/toolkit/qt5/qt5-base/pspec.xml b/desktop/toolkit/qt5/qt5-base/pspec.xml
index 9226e7b7cf..3d0e83688d 100755
--- a/desktop/toolkit/qt5/qt5-base/pspec.xml
+++ b/desktop/toolkit/qt5/qt5-base/pspec.xml
@@ -11,7 +11,7 @@
Cross platform application and UI framework
Cross platform application and UI development framework
'GPL3' 'LGPL3' 'FDL' 'custom'
- http://download.qt.io/official_releases/qt/5.13/5.13.0/submodules/qtbase-everywhere-src-5.13.0.tar.xz
+ http://download.qt.io/official_releases/qt/5.13/5.13.1/submodules/qtbase-everywhere-src-5.13.1.tar.xz
@@ -78,9 +78,9 @@
mkspecs.patch
- qtbase-qxcbwindow.patch
- qtbase-zlib-compression.patch
- virtualbox-focus.patch
+ qtbug-77364.patch
+
+
@@ -263,6 +263,13 @@
-->
+
+ 2019-09-05
+ 5.13.1
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2019-06-20
5.13.0