From d7a0330e36873fc61cd04cde2746f14269e574b2 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Thu, 16 Feb 2012 22:08:06 +0100 Subject: [PATCH] Insert the slot field as a numeric field. The sorting in mediaview doesn't work well as the slot field is added as a text field not a numeric field. --- bacula/src/qt-console/medialist/mediaview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/qt-console/medialist/mediaview.cpp b/bacula/src/qt-console/medialist/mediaview.cpp index 6f8f28240d..6c31687964 100644 --- a/bacula/src/qt-console/medialist/mediaview.cpp +++ b/bacula/src/qt-console/medialist/mediaview.cpp @@ -351,7 +351,7 @@ void MediaView::populateTable() mediaitem.setInChanger(index++, fld.next()); Slot = fld.next(); // Slot - mediaitem.setTextFld(index++, Slot); + mediaitem.setNumericFld(index++, Slot); MediaType = fld.next(); VolStatus = fld.next(); -- 2.39.5