Fix overlay Z-order issue.

This commit is contained in:
casey langen 2020-01-11 20:26:30 -08:00
parent 10835f5255
commit b1da99d23c
2 changed files with 1 additions and 5 deletions

View File

@ -43,8 +43,6 @@
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/algorithm/string.hpp>
#include <iostream>
using musik::core::db::Statement;
using musik::core::db::Row;
using musik::core::TrackPtr;
@ -134,8 +132,6 @@ bool SearchTrackListQuery::OnRun(Connection& db) {
query += this->GetLimitAndOffset();
std::cerr << query << "\n";
Statement trackQuery(query.c_str(), db);
if (hasFilter) {

View File

@ -469,7 +469,7 @@ process:
messages, ensure our overlay is on top, then do a redraw. */
Window::MessageQueue().Dispatch();
if (this->state.overlayWindow && !this->state.overlayWindow->IsTop()) {
if (this->state.overlayWindow) {
this->state.overlay->BringToTop(); /* active overlay is always on top... */
}